package com.base.vistter.iframe.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sys_team_user")
public class SysTeamUser extends BaseEntity {

    private Integer teamId;

    private Integer userId;

    @TableField(exist = false)
    private SysUser sysUser;

    public SysTeamUser(Integer teamId, Integer userId){
        this.teamId = teamId;
        this.userId = userId;
    }

}
